Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hig/text-link

Package Overview
Dependencies
Maintainers
6
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hig/text-link

HIG Text Link

  • 1.2.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
16
decreased by-69.23%
Maintainers
6
Weekly downloads
 
Created
Source

Text Links directs visitors to another location on the page, within the product, or to an external site.

Read more about when and how to use the Text Link components on the HIG website.

Getting started

yarn add @hig/text-link @hig/theme-context @hig/theme-data

Import the component and CSS

import TextLink from '@hig/text-link';
import "@hig/fonts/build/ArtifaktElement.css";

Basic usage

<TextLink link="https://github.com/Autodesk/hig">
  This is a primary text link
</TextLink>

Custom CSS

Use the className prop to pass in a css class name to the outermost container of the component. The class name will also pass down to most of the other styled elements within the component.

FAQs

Package last updated on 12 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc